package transport

type Type int

// transport protocols.
const (
	UDP Type = iota + 1
	TCP
	TLS
)

const (
	// UdpKernelReadBufferSize same size as GStreamer's rtspsrc
	UdpKernelReadBufferSize = 0x80000

	// UdpMaxPayloadSize 1500 (UDP MTU) - 20 (IP header) - 8 (UDP header)
	UdpMaxPayloadSize = 1472
)
